using System;
using System.IO;
using System.Collections;
using System.Xml;
using System.Xml.Serialization;

namespace Servidor
{
	[XmlRoot("Listado")]
	public class VideoList
	{
		[XmlElement("Titulo")]
		public String titulo;
		
		[XmlEnum("Duracion")]
		public String duracion;
		
		[XmlElement("id")]
		public int id;
		
		[XmlElement("Imagen")]
		public String codigo_imagen;
			
		[XmlElement("Path")]
		public String path;
		
		
		public VideoList ()
		{
		}
		
		public void show(){
			Console.WriteLine("Titulo: "+titulo);
			Console.Write("\t Duracion: "+duracion+" | Id: "+id);
			Console.WriteLine("\t Path: "+path);
		}
		
	}
}

